package com.angel.architecture.persistence.beans;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.angel.architecture.persistence.base.PersistentObject;

/**
 *
 * @author William
 */
@Entity
public class Language extends PersistentObject{

	private static final long serialVersionUID = -1194850748761748738L;

	@Column(nullable = false)
    private String name;

    @Column(nullable = false, unique = true)
    private String locale;

    @Column(nullable = false)
    private String image;

    @Column(nullable = false)
    private Boolean active;


    public String getLocale() {
        return locale;
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Boolean getActive() {
        return active;
    }

    public void setActive(Boolean active) {
        this.active = active;
    }
}
